import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';

import { Food } from '@/modules/app/entities';

import { FoodService } from './food.service';
import { FoodController, AdminFoodController } from './food.controller';
import { CategoryModule } from '../category/category.module';

@Module({
  imports: [TypeOrmModule.forFeature([Food]), CategoryModule],
  controllers: [FoodController, AdminFoodController],
  providers: [FoodService],
})
export class FoodModule {}
